package com.junjie.services;

import com.junjie.entity.Room;
import com.junjie.utils.CommonResult;

import java.util.List;

public interface RoomService {

    //根据根据信息来查询房间
    List<Room> selectSearchRoom(Room room);

    //插入房间的信息
    CommonResult<Integer> insertRoom(Room room);

    //修改一间房间的信息
    CommonResult<Integer> updateRoomById(Room room);

    //删除一间房间的信息
    CommonResult<Integer> deleteRoomById(Integer id);

}
